import Vue from 'vue'

const DEV = true;

let get_trade_data = DEV ? 'http://localhost:8080/trade/get' : 'http://56bqwu.natappfree.cc/trade/get';
let get_trade_variety = DEV ? 'http://localhost:8080/trade/variety' : 'http://56bqwu.natappfree.cc/trade/variety';
let get_weather_data = DEV ? 'http://localhost:8080/weather/get' : 'http://56bqwu.natappfree.cc/weather/get';

export default {
    install() {
        Vue.prototype.$get_trade_data = get_trade_data;
        Vue.prototype.$get_trade_variety = get_trade_variety;
        Vue.prototype.$get_weather_data = get_weather_data;
    }
}